package com.cap.bts.crmdp.dealer.coupon.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.cap.bts.framework.common.domain.BaseDomain;

/**
 * The persistent class for the TM_RAW_COUPON_BATCH database table.
 * 
 */
@Entity
@Table(name = "TM_RAW_COUPON_BATCH")
public class CouponBatch extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String batchName;

    private String description;

    private Date startDate;

    private Date endDate;
    
    private Integer isGenerated;
    
    private Integer isBinded;
    
    public CouponBatch() {
    }

    @Id
    @GeneratedValue(strategy=GenerationType.AUTO)
    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "BATCH_NAME")
    public String getBatchName() {
        return this.batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Temporal(TemporalType.DATE)
    @Column(name = "START_DATE")
    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    @Temporal(TemporalType.DATE)
    @Column(name = "END_DATE")
    public Date getEndDate() {
        return this.endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Column(name = "IS_GENERATED")
    public Integer getIsGenerated() {
        return isGenerated;
    }

    public void setIsGenerated(Integer isGenerated) {
        this.isGenerated = isGenerated;
    }

    @Column(name = "IS_BINDED")
    public Integer getIsBinded() {
        return isBinded;
    }

    public void setIsBinded(Integer isBinded) {
        this.isBinded = isBinded;
    }
    

}
